package com.pactera.madp.cp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pactera.madp.cp.api.bo.ContactRelationBo;
import com.pactera.madp.cp.api.entity.ContactRelation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ContactRelationMapper extends BaseMapper<ContactRelation>{

    List<ContactRelationBo> getJoinContacts(Page<ContactRelationBo> page, @Param("contactId") Integer contactId, @Param("employeeId") Integer employeeId);

}
